<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" rel="stylesheet" href="css/login.css"/>
    <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="js/login.js"></script>
    <title>登录</title>
    <script type="text/javascript">
        alert("登录页面")

        $(document).ready(function () {
            $("[name=log]").click(function () {
                var phoneoremail = $("[name=phoneoremail]").val();
                var password = $("[name=password]").val();
                $.get("/login", {
                    "phoneoremail": phoneoremail,
                    "password": password
                },function (mess) {
                    eval("var lo="+mess);
                    alert(lo.info);
                    if (lo.info=="登录成功"){
                        alert("登录成功");
                        location.href="/login1?uid="+lo.uid;
                    }else {
                        alert("登录失败");
                    }
                })
            })

        })

    </script>
</head>

<body>
<div class="header">

    <div class="mainwarp">
        <div class="logo"><a href="index.html"><img src="images/log.png"/></a></div>
        <div class="welcome">欢迎登录</div>
        <div class="headerright">
            <a href="index.html">返回首页</a>
        </div>
    </div>


<!--   <div class="mainwarp">

>>>>>>> 67b5750f485b4930eeb86c2bab9d4735aa29427b
      <div class="logo"><a href="index.html"><img src="images/log.png" /></a></div>
      <div class="welcome">欢迎登录</div>
      <div class="headerright">
         <a href="index.html">返回首页</a>
      </div>
   </div>-->

</div>
<div class="content">
    <div class="logtype"></div>
    <div class="clear"></div>
    <div class="logoDiv">
        <div class="logoLeft">
            <div class="leftimg">
                <img src="images/log1.gif"/>
            </div>
            <div class="leftcon">
                <a href="" class="a1">手机触屏版</a>
                <a href="" class="a2">Android客户端下载</a>
                <a href="" class="a3">iPhone客户端下载</a>
            </div>
        </div>
        <div class="logoRight">
            <div class="normalLogin">
                <div class="username">
                    <span></span>
                    <input name="phoneoremail" type="text" placeholder="请输入手机号"/>
                </div>
                <div class="password">
                    <span></span>
                    <input name="password" type="text" placeholder="请输入密码"/>
                </div>
                <div class="autoLogo">
                    <a href="password.html" class="pasd">忘记密码？</a>
                </div>
       <!--         <div class="autoLogo">
                    <span class="CheckBox Yes"></span>
                    <span>我已阅读并接受<a href="user_agreement.html">用户协议</a></span>
                </div>-->
                <div class="logobtn">
                    <a name="log">登 录</a>
                </div>
                <div class="zcbtn">
                    <a href="register.html">还没有账号？立即注册</a>
                </div>
            </div>
            <div class="weixinLogin">
                <div class="weixinQr">
                    <img src="images/showqrcode.jpg" width="150" class="useHelpcon"/>
                    <p>使用微信扫描上方二维码</p>
                    <p class="useHelp useHelpcon">使用帮助</p>
                </div>
                <div class="zcbtn">
                    <a href="register.html">还没有账号？立即注册</a>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="clear"></div>
</body>
</html>
